<?php
header("Content-Type: text/html");
header("charset: utf-8");
include_once("_common.php");

$returnVal = "success";

if ($wr_id) {
//글삭제
sql_query(" delete from  $bo_table where (wr_id = '$wr_id' or wr_parent = '$wr_id') ");
}

echo " delete from  $bo_table where (wr_id = '$wr_id' or wr_parent = '$wr_id') ";

?>